package com.zhb.cloud.mapper;

import java.util.List;

import com.zhb.cloud.model.Prize;

public interface PrizeMapper {
	int deleteByPrimaryKey(Integer id);

	int insertSelective(Prize record);

	Prize selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(Prize record);

	Integer getPrizeNum(Integer prizeId);

	List<Prize> findPrizeList();

	void reducePrizeNum(int index);
}